let p = {name:'zhufeng'};
Object.defineProperty(p,'age',{
    value:10,
    //writable:false, //此字段是否可以修改
    configurable:true, //此字段是否可以删除
    enumerable:true, //forin循环的时候是可以打印出来
})
p.age = 11;
console.log(p);
Object.setPrototypeOf(p,{home:'beijing'});
console.log(Object.keys(p));
console.log(Reflect.ownKeys(p));

console.log(p.home);
console.log(Object.keys(p));